package com.b511.swpu.cementbackend.entity;

import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.hibernate.annotations.GenericGenerator;
import org.springframework.format.annotation.DateTimeFormat;

import javax.persistence.*;
import java.util.Date;

@Entity
@Getter
@Setter
@Accessors(chain = true)
@Table(name = "Data_Classification")
public class Data_Classification  {
    @Id
    @GenericGenerator(name="dataClassificationGenerator", strategy="uuid")
    @GeneratedValue(generator="dataClassificationGenerator")
    private String Data_Classification_ID;

    @Basic
    @Column(name = "CODE")
    private String code;

    @Basic
    @Column(name = "NAME")
    private String name;

    @Basic
    @Column(name = "MENUNAME")
    private String menuName;

    @Override
    public String toString() {
        return "Data_Classification{" +
                "Data_Classification_ID='" + Data_Classification_ID + '\'' +
                ", code='" + code + '\'' +
                ", name='" + name + '\'' +
                ", menuName='" + menuName + '\'' +
                '}';
    }
}
